package com.mhys.ynnz_ssm.business.user.service;

import com.mhys.ynnz_ssm.business.user.dto.MhysUserDO;
import com.mhys.ynnz_ssm.business.user.dto.MhysUserVO;
import com.mhys.ynnz_ssm.core.dto.MyPager;
import com.mhys.ynnz_ssm.core.dto.MyResult;

import javax.servlet.http.HttpServletRequest;

/**
 * 用户管理业务接口
 * 2024/6/11
 */
public interface UserService {
    MhysUserVO getUserByID(String userID);

    int addUser(MhysUserVO userVO);

    MyPager<MhysUserDO> getUserPagers(MhysUserVO userVO, MyPager pager);

    int updateUser(MhysUserVO userVO);

    int deleteUser(String userID);

    MyResult login(HttpServletRequest request,MhysUserVO userVO);
}
